import request from '@/api/request'

export function findMaterialByPage(start, limit, data) {
  return request({
    url: `/lejuAdmin/material/findMaterialByPage/${start}/${limit}`,
    method: 'GET',
    data
  })
}

export function delMaterial(id) {
  return request({
    url: `/lejuAdmin/material/delMaterial/${id}`,
    method: 'DELETE'
  })
}
